#include <IAudio.h>
Inheritance diagram for ISound3D::
Public Methods | |
virtual bool | Init (const Sound3DInit &init)=0 |
virtual bool | SetProperties (const Sound3DProp &prop)=0 |
virtual bool | GetProperties (Sound3DProp &prop) const=0 |
virtual bool | SetPosition (const AUDIOVECTOR &vPosition)=0 |
virtual bool | GetPosition (AUDIOVECTOR &vPosition) const=0 |
virtual bool | SetVelocity (const AUDIOVECTOR &vVelocity)=0 |
virtual bool | GetVelocity (AUDIOVECTOR &vVelocity) const=0 |
virtual bool | SetMaxDistance (float fMaxDist)=0 |
virtual bool | GetMaxDistance (float &fMaxDist) const=0 |
virtual bool | SetMinDistance (float fMinDist)=0 |
virtual bool | GetMinDistance (float &fMinDist) const=0 |
virtual bool | SetConeAngles (uint32 nInside, uint32 nOutside)=0 |
virtual bool | GetConeAngles (uint32 &nInside, uint32 &nOutside) const=0 |
virtual bool | SetConeOrientation (const AUDIOVECTOR &vOrientation)=0 |
virtual bool | GetConeOrientation (AUDIOVECTOR &vOrientation) const=0 |
virtual bool | SetConeOutsideVolume (float fVolume)=0 |
virtual bool | GetConeOutsideVolume (float &fVolume) const=0 |
virtual bool | SetMode (uint32 nMode)=0 |
virtual bool | GetMode (uint32 &nMode) const=0 |
virtual bool | SetVolume (float fVolume)=0 |
virtual bool | GetVolume (float &fVolume) const=0 |
virtual bool | SetPitch (float fPitch)=0 |
virtual bool | GetPitch (float &fPitch) const=0 |
virtual bool | SetReadCursor (uint32 nBytes)=0 |
virtual bool | GetReadCursor (uint32 &nBytes) const=0 |
virtual bool | GetSourceSize (uint32 &nBytes) const=0 |
virtual IEAXBuffer* | EAX ()=0 |
virtual IZoomFX* | ZoomFX ()=0 |
virtual bool | QuerySupport (const GUID &guid, uint32 nID, uint32 *pTypeSupport)=0 |
virtual bool | Get (const GUID &guidProperty, uint32 nID, void *pInstanceData, uint32 nInstanceLength, void *pPropData, uint32 nPropLength, uint32 *pBytesReturned)=0 |
virtual bool | Set (const GUID &guidProperty, uint32 nID, void *pInstanceData, uint32 nInstanceLength, void *pPropData, uint32 nPropLength, bool bStoreProperty)=0 |
ISound3D-derived objects represent sounds located in 3D world or local space. The ISound3D interface provides specific initalization routines and 3d functions, as well as functions for setting the read cursor position and getting the source size.
|
Retrieves the IEAXBuffer interface. The function is guaranteed never to fail, so there is no need to check the interface pointer for null.
|
|
This function allows an application to get property set information from a driver. See the DirectX Audio documentation and the documentation for the property set you wish to work with for details on how to use these parameters.
|
|
Gets the inside and outside cone angles of the sound. Paramater values are in degrees, and valid ranges are 0 to 360.
|
|
Gets the orientation of the sound cone.
|
|
Gets the volume outside the sound cone.
|
|
Gets the maximum distance at which a sound can be heard.
|
|
Gets the minimum distance at which a sound begins to attenuate with distance.
|
|
Sets the 3D sound processing mode.
|
|
Gets the objects frequency in hertz
|
|
Retrieves the current position of the sound source.
|
|
Gets all 3D properties simultaneously.
|
|
Gets the current read cursor position in bytes.
|
|
Retrieves the total size of the current source in bytes.
|
|
Retrieves the current velocity of the sound source.
|
|
Gets the volume for this audio object.
|
|
Initializes the 2D sound parameters. This must be the first function called on the sound after the object is created.
|
|
Generic property support (for driver-specific extensions). Querying an object allows a program to determine if driver-specific extensions are available on a user's system. By exposing this at the API level, it ensures that the application has complete control over any property sets needed at the application level. See the DirectX Audio documentation and the documentation for the property set you wish to work with for details on how to use these parameters.
|
|
This function allows an application to set a driver-specific property. See the DirectX Audio documentation and the documentation for the property set you wish to work with for details on how to use these parameters.
|
|
Sets the inside and outside cone angles of the sound. Paramater values are in degrees, and valid ranges are 0 to 360.
|
|
Sets the orientation of the sound cone.
|
|
Sets the volume outside the sound cone.
|
|
Sets the maximum distance at which a sound can be heard.
|
|
Sets the minimum distance at which a sound begins to attenuate with distance.
|
|
Sets the 3D sound processing mode.
|
|
Sets the desired frequency of the audio object relative to its original frequency. For instance, a value of 0.5 sets it to half the original pitch, and a value of 2.0 doubles the pitch. Note that the pitch range may be constained by the sample's original pitch and the range allowed in hardware.
|
|
Sets the current position of the sound source.
|
|
Sets all 3D properties simultaneously.
|
|
Sets the current read cursor position in bytes in the current source.
|
|
Sets the current velocity of the sound source.
|
|
Sets the individual volume of a 3D sound. This value will decrease the volume in addition to any decrease from maximum volume set in the master volume controls.
|
|
Retrieves the IZoomFX interface. The function is guaranteed never to fail, so there is no need to check the interface pointer for null.
|